import request from '@/utils/request'

export function getDashboardData() {
  return request({
    url: '/dashboard/entire',
    method: 'get',

  })
}

export function getCourse() {
  return request({
    url: '/showData/course',
    method: 'get',
  })
}

export function getOne(query) {
  return request({
    url: '/dashboard/one',
    method: 'get',
    params: query
  })
}

export function getTwo(query) {
  return request({
    url: '/dashboard/two',
    method: 'get',
    params: query
  })
}


export function getSemester() {
  return request({
    url: '/dashboard/semester',
    method: 'get',
  })
}

export function getSemester1() {
  return request({
    url: '/dashboard/semester1',
    method: 'get',
  })
}

export function getSemester2() {
  return request({
    url: '/dashboard/semester2',
    method: 'get',
  })
}
